﻿@{
    ViewBag.Title = "Precompiled Razor test page";
}

<h2>@ViewBag.Message</h2>
<p>
    This page demonstrates the use of precompiled razor helpers
</p>

<p>Calling helper defined in the web app itself:</p>
@WebAppHelpers.WriteList(new [] { "Hello", "Razor" })
@WebAppHelpers.RenderAboutLink(Html)

<p>Calling helper defined in an external library:</p>
@Html.WriteList(new[] { "Hello", "Razor" })

<p>
    <a href="@Href("~/WebPages/WebPagesSample")">Sample pre-compiled WebPages</a>
</p>
